package cn.buk.tms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author yfdai
 */
public class DetrInfoDto {

  private int id;

  private String ticketNo;

  private int enterpriseId;

  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date sellDate;


  @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
  private Date createDate;

  private String ticketClass;

  private String balanceCode;

  /**
   * 10位票号
   */
  private String tenTicketNo;


  /**
   * 0-国内, 1-国际
   */
  private String type3;

  private String pnrNo;


  private String psgName;

  private String segInfo;

  private String carrier;

  private String flightNo;

  private String subclass;

  private String fltDate;

  private int classOffset;

  private double taxCn;

  private double taxYq;

  private double taxOt;

  private double tax;

  private double fare;

  private double totalFare;

  /**
   * 净价(和delphi程序匹配）
   */
  private Double netFare;

  private Double commRate;

  /**
   * eterm 用户名
   */
  private String username;

  private String luggage;

  private String isUsed;

  private String beInputed;

  private String detrDone;

  private String detrDetail;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getTicketNo() {
    return ticketNo;
  }

  public void setTicketNo(String ticketNo) {
    this.ticketNo = ticketNo;
  }

  public int getEnterpriseId() {
    return enterpriseId;
  }

  public void setEnterpriseId(int enterpriseId) {
    this.enterpriseId = enterpriseId;
  }

  public Date getSellDate() {
    return sellDate;
  }

  public void setSellDate(Date sellDate) {
    this.sellDate = sellDate;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public String getTicketClass() {
    return ticketClass;
  }

  public void setTicketClass(String ticketClass) {
    this.ticketClass = ticketClass;
  }

  public String getBalanceCode() {
    return balanceCode;
  }

  public void setBalanceCode(String balanceCode) {
    this.balanceCode = balanceCode;
  }

  public String getTenTicketNo() {
    return tenTicketNo;
  }

  public void setTenTicketNo(String tenTicketNo) {
    this.tenTicketNo = tenTicketNo;
  }

  public String getType3() {
    return type3;
  }

  public void setType3(String type3) {
    this.type3 = type3;
  }

  public String getPnrNo() {
    return pnrNo;
  }

  public void setPnrNo(String pnrNo) {
    this.pnrNo = pnrNo;
  }

  public String getPsgName() {
    return psgName;
  }

  public void setPsgName(String psgName) {
    this.psgName = psgName;
  }

  public String getSegInfo() {
    return segInfo;
  }

  public void setSegInfo(String segInfo) {
    this.segInfo = segInfo;
  }

  public String getCarrier() {
    return carrier;
  }

  public void setCarrier(String carrier) {
    this.carrier = carrier;
  }

  public String getFlightNo() {
    return flightNo;
  }

  public void setFlightNo(String flightNo) {
    this.flightNo = flightNo;
  }

  public String getSubclass() {
    return subclass;
  }

  public void setSubclass(String subclass) {
    this.subclass = subclass;
  }

  public String getFltDate() {
    return fltDate;
  }

  public void setFltDate(String fltDate) {
    this.fltDate = fltDate;
  }

  public int getClassOffset() {
    return classOffset;
  }

  public void setClassOffset(int classOffset) {
    this.classOffset = classOffset;
  }

  public double getTaxCn() {
    return taxCn;
  }

  public void setTaxCn(double taxCn) {
    this.taxCn = taxCn;
  }

  public double getTaxYq() {
    return taxYq;
  }

  public void setTaxYq(double taxYq) {
    this.taxYq = taxYq;
  }

  public double getTaxOt() {
    return taxOt;
  }

  public void setTaxOt(double taxOt) {
    this.taxOt = taxOt;
  }

  public double getTax() {
    return tax;
  }

  public void setTax(double tax) {
    this.tax = tax;
  }

  public double getFare() {
    return fare;
  }

  public void setFare(double fare) {
    this.fare = fare;
  }

  public double getTotalFare() {
    return totalFare;
  }

  public void setTotalFare(double totalFare) {
    this.totalFare = totalFare;
  }

  public Double getNetFare() {
    return netFare;
  }

  public void setNetFare(Double netFare) {
    this.netFare = netFare;
  }

  public Double getCommRate() {
    return commRate;
  }

  public void setCommRate(Double commRate) {
    this.commRate = commRate;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getLuggage() {
    return luggage;
  }

  public void setLuggage(String luggage) {
    this.luggage = luggage;
  }

  public String getIsUsed() {
    return isUsed;
  }

  public void setIsUsed(String isUsed) {
    this.isUsed = isUsed;
  }

  public String getBeInputed() {
    return beInputed;
  }

  public void setBeInputed(String beInputed) {
    this.beInputed = beInputed;
  }

  public String getDetrDone() {
    return detrDone;
  }

  public void setDetrDone(String detrDone) {
    this.detrDone = detrDone;
  }

  public String getDetrDetail() {
    return detrDetail;
  }

  public void setDetrDetail(String detrDetail) {
    this.detrDetail = detrDetail;
  }
}
